# -*- coding: utf-8 -*-
# !/usr/bin/env python3
# Author: eddyhhu(胡皓)
from fastapi import FastAPI
from api.apis import router as api_router


def create_app(**kwargs) -> FastAPI:
    # init app
    app = FastAPI(**kwargs)
    # register router
    app.include_router(api_router, prefix="/api/v1")
    return app
